import {POST} from "../utils/request";

export default {
	// 登录
	login: (data) => POST({
		url: '/card.user/login',
		params: data,
	}),
	// 注册
	register: (data) => POST({
		url: '/card.user/register',
		params: data,
	}),
	// 获取用户信息
	userInfo: () => POST({
		url: '/card.user/info',
	}),
	// 注销
	logout: (data) => POST({
		url: '/card.user/logout',
		params: data,
	}),
}
